package com.example.dddsample.domain.entity;

import com.example.dddsample.domain.repository.CustomerRepository;
import com.example.dddsample.domain.vo.AddressVO;
import lombok.Data;

import javax.inject.Inject;

@Data
public class CustomerAggregate {

    private String custId;

    private String custName;

    private AddressVO addressVO;

   /* @Inject
    private CustomerRepository customerRepository;

    public  CustomerAggregate(){

    }



    public CustomerAggregate getCustomerAggregate(String custId){
        return customerRepository.getCustomerAggregate(custId);
    }*/

}
